<?php

namespace app\admin\controller;
use app\base\controller\Base;
use think\Request;
use think\Cache;
use think\Config;
use think\Session;

//日志
class Logs extends Base
{
    public  $model;

    public function __construct()
    {
   $this->model = model("SysMessage");
        parent::__construct();
    }

    /**
     * 显示资源列表
     *
     * @return \think\Response
     */
    public function index()
    {//
        $where = [];
        //时间的处理

        $res =   $this->model->AdminPageNoAgent($where);
        if(empty($res)){
            return failJson("暂无日志记录");
        }
        return   resJson(1,$this->ecLang("query"),$res['res'],$res['pageInfo']);
    }





}
